package com.baosight.risk.service.xtzy.entity;

import com.baosight.risk.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @desc: 人员积分表
 * @author: CuiShiHao
 **/
@Data
@ApiModel
@Table(name = "T_XTZY_INTEGRAL")
public class XtzyIntegral extends BaseEntity {

    /**
     * 员工编码
     * <p>
     * Table:     T_XTZY_INTEGRAL
     * Column:    USER_CODE
     * Nullable:  false
     */
    @ApiModelProperty("员工编码")
    @Column(name = "USER_CODE")
    private String userCode;

    /**
     * 员工姓名
     * <p>
     * Table:     T_XTZY_INTEGRAL
     * Column:    USER_DESC
     * Nullable:  true
     */
    @ApiModelProperty("员工姓名")
    @Column(name = "USER_DESC")
    private String userDesc;

    /**
     * 办公电话
     * <p>
     * Table:     T_XTZY_INTEGRAL
     * Column:    TELEPHONE
     * Nullable:  true
     */
    @ApiModelProperty("办公电话")
    @Column(name = "TELEPHONE")
    private String telephone;

    /**
     * 手机号码
     * <p>
     * Table:     T_XTZY_INTEGRAL
     * Column:    PHONE_CODE
     * Nullable:  true
     */
    @ApiModelProperty("手机号码")
    @Column(name = "PHONE_CODE")
    private String phoneCode;

    /**
     * 邮箱地址
     * <p>
     * Table:     T_XTZY_INTEGRAL
     * Column:    EMAIL
     * Nullable:  true
     */
    @ApiModelProperty("邮箱地址")
    @Column(name = "EMAIL")
    private String email;

    /**
     * 所属单位
     * <p>
     * Table:     T_XTZY_INTEGRAL
     * Column:    COMP_CODE
     * Nullable:  true
     */
    @ApiModelProperty("所属单位")
    @Column(name = "COMP_CODE")
    private String compCode;

    /**
     * 所属单位名称
     * <p>
     * Table:     T_XTZY_INTEGRAL
     * Column:    COMP_NAME
     * Nullable:  true
     */
    @ApiModelProperty("所属单位名称")
    @Column(name = "COMP_NAME")
    private String compName;

    /**
     * 所属部门
     * <p>
     * Table:     T_XTZY_INTEGRAL
     * Column:    DEPT_CODE
     * Nullable:  true
     */
    @ApiModelProperty("所属部门")
    @Column(name = "DEPT_CODE")
    private String deptCode;

    /**
     * 所属部门名称
     * <p>
     * Table:     T_XTZY_INTEGRAL
     * Column:    DEPT_NAME
     * Nullable:  true
     */
    @ApiModelProperty("所属部门名称")
    @Column(name = "DEPT_NAME")
    private String deptName;

    /**
     * 总积分
     * <p>
     * Table:     T_XTZY_INTEGRAL
     * Column:    INTEGRAL_SUM
     * Nullable:  true
     */
    @ApiModelProperty("总积分")
    @Column(name = "INTEGRAL_SUM")
    private Integer integralSum;

    /**
     * 备注
     * <p>
     * Table:     T_XTZY_INTEGRAL
     * Column:    REMARK
     * Nullable:  true
     */
    @ApiModelProperty("备注")
    @Column(name = "REMARK")
    private String remark;

    /**
     * 排序
     * <p>
     * Table:     T_XTZY_INTEGRAL
     * Column:    ROW_ORDER
     * Nullable:  true
     */
    @ApiModelProperty("排序")
    @Column(name = "ROW_ORDER")
    private String rowOrder;
    private static final long serialVersionUID = 1L;
}
